Release 10.1A: OpenEdge Getting Started:
Installation and Configuration


Silent installation option for the Shared Network Installation Utility

The Shared Network Installation Utility (NetSetup) supports silent mode installations. In silent mode, the installation utility reads values from a user-created response file, rather than prompting the user for input. When the OpenEdge 10.1A installation is initiated using silent mode, there is no user involvement required to advance through and complete the installation process.

The information in this section describes:

Creating a user-defined response file

Before you can run the NetSetup utility in silent installation mode, you must create the user-response file. This file records the values that the NetSetup utility needs to successfully complete the silent installation process. This section describes how to create a response file using the interactive method.

To create this file, you must perform an initial interactive installation, providing the required values.

To create the user-defined response file using the interactive installation mode:

  1. Enter the following command on the command line:
  2. drive:\destination path\netsetup\setup.exe -r 
                    [-f1C:\<path-to-file>\response-file] 
    

    setup.exe

    The command to run the NetSetup program interactively.

    -r parameter

    The Installshield mechanism to create the response file using the interactive method and to identify it as setup.iss. The setup.iss file is a text file that is modifiable. The -psc_r parameter is the recommended method to ensure that you create a complete response file.

    -f1<path>\<response-file-name>

    Specifies the name of the response file. By default, the install will look for the file setup.ini in the same directory as setup.exe is located.

  3. Press ENTER. NetSetup runs interactively.
  4. As you enter values through the keyboard, NetSetup simultaneously creates the response file, to record particular values that you enter. Values specific to your installation are read and stored in the response file.

The following example shows the typical contents of a sample response file, setup.iss:

setup.iss
[Silent] 
Version=v7.00 
File=Response File 
[File Transfer] 
OverwrittenReadOnly=NoToAll 
[{874D5CE4-F913-4D5B-A6D4-CC129785B5C8}-DlgOrder] 
Dlg0={874D5CE4-F913-4D5B-A6D4-CC129785B5C8}-DLG_SHARED_INSTALL-0 
Count=2 
Dlg1={874D5CE4-F913-4D5B-A6D4-CC129785B5C8}-MessageBox-0 
[{874D5CE4-F913-4D5B-A6D4-CC129785B5C8}-DLG_SHARED_INSTALL-0] 
ProgramFolder=OpenEdge 10.1A1B Shared Network Installation 
WorkingDir=C:\OpenEdge\NetinstWrk 
[Application] 
Name=OpenEdge Shared Network Install Utility 
Version=10.1A 
Company=PSC 
Lang=0009 
[{874D5CE4-F913-4D5B-A6D4-CC129785B5C8}-MessageBox-0] 
Result=1 

The values entered for the ProgramFolder and WorkingDir during the interactive installation are recorded in the response file. The shortcut information identified in the Program Folder and the user’s work files identified in the WorkingDir are read during a silent installation.

Note: The OverwrittenReadOnly option ensures that the Read Only File dialog box is surpressed during a silent setup.

Executing NetSetup with the silent installation option

Once the response file exists, the installation process using the silent mode can be initiated.

To initiate NetSetup with the silent installation option, enter the following command on the command line to run NetSetup in silence:

drive:\destination path\netsetup\setup.exe -psclog[C:\<path-to-file>] -s 
     [-f1C:\<path-to-file>\response-file] 

drive:\destination path\netsetup

The path to where the NetSetup utility resides on the server in the OpenEdge product file structure.

setup.exe

The command to run the NetSetup program.

-psclog[C:\<path-to-file>]

Required parameter to run NetSetup in silent installation mode. This parameter is also optionally used to identify a path to a log file that contains information about the status of the silent installation.

The log file created by the installation program is called PscNetSetupMsg.log.

-s

Required parameter to run an installation without requiring user interaction. This parameter is executed with the setup.exe to run a silent installation.

-f1<path>\<response-file-name>

Specifies the name of the response file. By default, the install will look for the file setup.iss in the same directory as setup.exe is located.

The following example shows the typical contents of the PscNetupMsg.log file:

[Progress NetSetup Messages] 
Type=INFORMATION 
Date=6-23-2005 
Time=10:02:46 
File=setup.rul 
Line=987 
Message=Setup is complete.  You may run the installed program. 
========== 
Type=INFORMATION 
Date=6-23-2005 
Time=10:02:46 
File=setup.rul 
Line=377 
Message=Completed Successfully. 
========== 

Details about the PscNetSetupMsg.log file

Review the following points concerning the file PscNetSetupMsg.log:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095